﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<WRSManagementSystem.DomainModel.Entities.Person>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Utwórz
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Utwórz</h2>
    <%
        Html.EnableClientValidation();%>
    <%
        using (Html.BeginForm("Create", "People", FormMethod.Post, new { enctype = "multipart/form-data" }))        
        {%>
        <%
            Html.RenderPartial("PersonEditView", Model); %>
        <%
        }%>

    <div>
        <%=Html.ActionLink("Powrót do listy", "../People/Index")%>
    </div>
</asp:Content>
